unique records without using distinct in oracle